package net.hn.hnms.biz.api.plan;

import net.hn.hnms.biz.api.plan.model.OnDutyVo;
import net.hn.hnms.sys.common.core.constant.ServiceNameConstants;
import net.hn.hnms.sys.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 智呈物联 pan'sx
 * 2023/10/17 10:07
 * 1.0 version
 */
@FeignClient(contextId = "RemoteOnDutyService", value = ServiceNameConstants.MANAGEMENT_PLAN_SERVICE,fallback =RemoteOnDutyServiceFallback.class )
public interface RemoteOnDutyService {
    @GetMapping("/dispatch/getOnDutyPersonnel")
    R<OnDutyVo> getOnDuty(@RequestParam("beginDate") String beginDate, @RequestParam("mineCode") String mineCode);
}
